﻿@model WWX.MemberPortal.Web.Models.LoginVM
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>微微笑客户订单查询系统-登录</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="/content/bootstrap.min.css">
    <link rel="stylesheet" href="/Content/admin.main.css" />
    <!-- Font Awesome -->
    <!-- Theme style -->
    <link rel="stylesheet" href="/content/AdminLTE.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition login-page">
    <div class="login-box">
        <div class="login-logo">
            <b>微微笑购物查询系统</b>
        </div>
        <!-- /.login-logo -->
        <div class="login-box-body">
            <p class="login-box-msg">系统登录</p>
            <form action="/account/login" method="post">
                <div class="form-group has-feedback">
                    @Html.TextBoxFor(n => n.Account, new
               {
                   @class = "form-control",
                   placeholder = "请输入账号", @*required = ""*@ })
                    @Html.ValidationMessageFor(n => n.Account)
                </div>
                <div class="form-group has-feedback">
                    @*<input type="password" class="form-control" placeholder="请输入密码">*@
                    @Html.PasswordFor(n => n.Password, new { @class = "form-control", placeholder = "请输入密码", required = "" })
                    @Html.ValidationMessageFor(n => n.Password)
                </div>
                <div class="form-group has-feedback">
                    @Html.TextBoxFor(x => x.ValidationCode, new { @class = "form-control", style = "width:245px;float:left;margin-right:5px;", maxlength = "4", placeholder = "请输入验证码" })
                    <img src="/Account/GetValidationCode?ValidationCodeId=@Model.ValidationCodeId" width="70" height="34" />
                    @Html.ValidationMessageFor(n => n.ValidationCode)

                    @Html.HiddenFor(n => n.ValidationCodeId)
                </div>
                <div class="form-group has-feedback">
                    @Html.ValidationMessage("FriendlyMessage")
                </div>
                <div class="row">
                    <!-- /.col -->
                    <div class="col-xs-12">
                        <button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>
                    </div>
                    <!-- /.col -->
                </div>
            </form>
        </div>
        <!-- /.login-box-body -->
    </div>
    <!-- /.login-box -->
    <!-- jQuery 2.2.0 -->
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <!-- Bootstrap 3.3.6 -->
    <script src="/scripts/bootstrap.min.js"></script>
</body>
</html>
